﻿using System.Web.Mvc;

namespace Citi.ExpenseReport.WebUI.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            //var teste = employeeRepository.GetById(1);

            //var dominio = new Domain.ConsolitedExpenditure().SelectEquipments(1, 2013);

            //ViewBag.Message = "Welcome to ASP.NET MVC!";

            //var importFolder = Path.Combine(Request.PhysicalApplicationPath, "Importação");

            //var errors = new List<ErrorModel>();

            // new ImportHelper(subServiceRepository, feedRepository).ImportApplication(Path.Combine(importFolder, "Application_201210.xlsx"), ref errors);
            //Util.ImportHelper.ImportEmail(Path.Combine(importFolder, "Email_201212.xls"), ref errors);

            return View();
        }

        public ActionResult About()
        {
            return View();
        }
    }
}